﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.EnterpriseLibrary.Validation;
using Microsoft.Practices.EnterpriseLibrary.Validation.Validators;
namespace DTO
{
    public class TENDIADIEMCollection : List<TENDIADIEM>
    { }
    public class TENDIADIEM
    {
        private long MaTenDiaDiem;

        public long MATENDIADIEM
        {
            get { return MaTenDiaDiem; }
            set { MaTenDiaDiem = value; }
        }
        private String TenDiaDiem;
        [StringLengthValidator(1,300,MessageTemplate="Tên địa điểm phải có ít nhất 1 ký tự")]
        public String TENDD
        {
            get { return TenDiaDiem; }
            set { TenDiaDiem = value; }
        }
        public TENDIADIEM() { }

    }
}
